package com.ty.paypal.core;

import java.util.List;

import com.paypal.http.annotations.Model;
import com.paypal.http.annotations.SerializedName;
import com.paypal.orders.Payer;
import com.paypal.payments.LinkDescription;

import lombok.Data;

/**
* @author ty
* @createDate 创建时间：2020年2月22日 下午3:06:11
**/
@Model
@Data
public class Subscriptions {
	@SerializedName("id")
	private String id;
	
	@SerializedName("plan_id")
	private String planId;
	
	@SerializedName("start_time")
	private String startTime;
	
	@SerializedName("subscriber")
	private Payer subscriber;
	
	@SerializedName("create_time")
	private String createTime;
	
	@SerializedName(value = "links", listClass = LinkDescription.class)
	private List<LinkDescription> links;
	
	@SerializedName("status")
	private String status;
	
	@SerializedName("status_update_time")
	private String statusUpdateTime;
	
}
